package com.chb.microservice.provider.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@JsonInclude(Include.NON_NULL)
@ApiModel(value = "Payway", description = "支付方式")
public class Payway {
	@ApiModelProperty(value = "序号")
	private String pmId;
	@ApiModelProperty(value = "名称")
	private String pmName;
	@ApiModelProperty(value = "图标")
	private String pmLogo;
	private String pmCode;

	public Payway def(String pmId, String pmName, String pmLogo, String pmCode) {
		this.pmId = pmId;
		this.pmName = pmName;
		this.pmLogo = pmLogo;
		this.pmCode = pmCode;
		return this;
	}

	public Payway id(String pmId) {
		this.pmId = pmId;
		return this;
	}

	public String getPmId() {
		return pmId;
	}

	public void setPmId(String pmId) {
		this.pmId = pmId;
	}

	public String getPmName() {
		return pmName;
	}

	public void setPmName(String pmName) {
		this.pmName = pmName;
	}

	public String getPmLogo() {
		return pmLogo;
	}

	public void setPmLogo(String pmLogo) {
		this.pmLogo = pmLogo;
	}

	public String getPmCode() {
		return pmCode;
	}

	public void setPmCode(String pmCode) {
		this.pmCode = pmCode;
	}

}
